package com.college.common.pojo.model.page;

import com.college.common.constant.PageConstants;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页公共请求对象
 *
 * @author 小C工作室
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageParamRequest {

	@ApiModelProperty(value = "页码", example = PageConstants.DEFAULT_PAGE + "")
	private int page = PageConstants.DEFAULT_PAGE;

	@ApiModelProperty(value = "每页数量", example = PageConstants.DEFAULT_LIMIT + "")
	private int limit = PageConstants.DEFAULT_LIMIT;

}
